﻿using System;
using System.Collections.Generic;
using System.Text;
using StockTrader.BusinessService.DataContract.HnxInfo;

namespace StockTrader.DAL.IDAL.HnxInfo
{
    public interface IHnxOrder
    {
        void Open(string connString);
        void Close();

        List<HnxOrderData> getHnxNewOrders(decimal timeStamp);
        List<HnxOrderData> getHnxAllOrders();
        List<HnxOrderData> countHnxOrders();
        void deleteHnxOrders();
        void insertHnxNewOrder(HnxOrderData order);
        List<HnxOrderData> getLastHnxOrder(long timeStamp);
    }
}
